home *** CD-ROM | disk | FTP | other *** search
/ Champak 128 / Vol 128 (Damaged).iso / games / hello_ki.swf / scripts / DefineSprite_83 / frame_2 / DoAction.as
Encoding:
Text File  |  2011-03-26  |  450 b   |  22 lines

  1. FirstCard = 0;
  2. SecondCard = 0;
  3. FirstCardName = "";
  4. SecondCardName = "";
  5. NoOfCardsOut = 0;
  6. ShuffleCards();
  7. CurrentFlipsCount = 0;
  8. CurrentFlips = "Flips: 0";
  9. CurrentPairsCount = 0;
  10. CurrentPairs = "Pairs Matched: 0";
  11. matchedArray = new Array();
  12. n = 1;
  13. while(n < 13)
  14. {
  15.    matchedArray[n] = false;
  16.    n++;
  17. }
  18. PauseButton.PauseText.ButtonText.gotoAndStop(1);
  19. Timer.gotoAndStop("TimerOff");
  20. CardActions.gotoAndPlay("TurnCards");
  21. stop();
  22.